/**
 * Copyright (C) 2013-2014 the original author or authors.
 */
package com.foreveross.bsl.comments.application.vo;

import com.foreveross.bsl.push.application.vo.ModuleMessage;

/**
 * xxx
 *
 * @author Wangyi
 * @version v1.0
 *
 * @date 2013-7-24
 *
 */
public class NoticeMessageVo extends ModuleMessage {
	
	private final static String KEY_NOTICE_ID="announceId";
	private final static String KEY_NOTICE_MODULE_ID="com.foss.announcement";

	public NoticeMessageVo() {
		super();
		this.putExtra(KEY_MODULE_ID, KEY_NOTICE_MODULE_ID);
	}

	public NoticeMessageVo(String title, String content) {
		super(title, content);
		this.putExtra(KEY_MODULE_ID, KEY_NOTICE_MODULE_ID);
	}

	public void setNoticeId(String noticeId){
		this.putExtra(KEY_NOTICE_ID, noticeId);
	}
	
	public String getNoticeId(){
		return (String)this.getExtra(KEY_NOTICE_ID);
	}
	
	@Override
	public String getModuleIdentifer() {
		return KEY_NOTICE_MODULE_ID;
	}
	
	@Override
	public void setModuleIdentifer(String moduleId) {
		
	}
}
